package example.demo.datasouce.enumTest;

import example.demo.datasouce.DBTypeEnum;

public class Test {
    public static void main(String[] args) {
        DBTypeEnum db1 = DBTypeEnum.db1;
        System.out.println(db1);
        System.out.println(db1.name());
        DBTypeEnum dbTypeEnum = DBTypeEnum.valueOf(db1.name());
        System.out.println(dbTypeEnum);
    }
}
